import Vue from 'vue'
import App from './App.vue'
import router from './routes/index'
import './routes/guard'
import store from './store/index'
import {
  Button,
  Menu,
  Icon,
  Layout,
  Breadcrumb,
  Dropdown
} from 'ant-design-vue'

Vue.use(Button)
  .use(Menu)
  .use(Icon)
  .use(Layout)
  .use(Breadcrumb)
  .use(Dropdown)

Vue.config.productionTip = false

const Vm = new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')

export default Vm
